package com.juzipi.service.impl;

import com.juzipi.inter.mapper.StudentMapper;
import com.juzipi.inter.pojo.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author juzipi
 * @Date 2021/4/14 17:40
 * @Info
 */
@Service
public class StudentService {


    @Autowired
    private StudentMapper studentMapper;


    public Student queryStudentById(Long studentId) {

        return studentMapper.selectById(studentId);

    }
}
